package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.ResAlarmPerson;

import java.util.List;

public interface AlarmPersonService {
    int create(ResAlarmPerson resAlarmPerson);

    int updateById(ResAlarmPerson resAlarmPerson);

    int deleteById(Long id);

    List<ResAlarmPerson> getByAreaId(int areaId);

    ResAlarmPerson getById(Long id);

    ResAlarmPerson getByPhone(String phone);

}
